package com.campus;
public class LoginService {
    private UserDAO userDAO;

    public LoginService() {
        this.userDAO = new UserDAO();
    }

    public boolean validateUser(String username, String password) {
        return userDAO.findUser(username, password);
    }
}
